using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using OVS.BusinessObjects;
using OVS.DAL;

namespace OVS.BLL
{
    public partial class UserBLL
	{
        public User GetUser_By_Nom(String User_nom)
        {
            try
            {
                return UserDAO.GetUser_By_Nom(User_nom);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }

        public int RemoveUser_By_Nom(String User_nom)
        {
            try
            {
                return UserDAO.RemoveUser_By_Nom(User_nom);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }

        public int UpdateUser_By_Nom(User oUser)
        {
            try
            {
                return UserDAO.UpdateUser_By_Nom( oUser);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        
	}
}
